package com.jt.demo8_anno;

import org.springframework.stereotype.Component;

@Component
public class Pig implements Pet{
    @Override
    public void hello(){
        System.out.println("力争干掉飞虎");
    }
}
